import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'

const routes: Array<RouteRecordRaw> = [
  {
    path: '/',
    name: 'home',
    meta:{
      title:'森林狩猎'
    },
    component:()=>import('@/views/index.vue')
  },
  {
    path: '/404',
    name: '404',
    meta:{
      title:'森林狩猎'
    },
    component:()=>import('@/views/404.vue')
  },
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
